package com.itheima.reggie.service;

import com.itheima.reggie.entity.Category;
import com.itheima.reggie.entity.Page;

import java.util.List;

public interface CategoryService {
    Page<Category>  findByPage(Integer page,Integer pageSize);
    void save(Category category);
    void update(Category category);
    void delete(Long id);
    public List<Category> findByType(Integer type);
}
